package cn.web.tp.passport.pojo.dto;

import lombok.Data;
import lombok.NonNull;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

@Data
public class UserAddNewDTO implements Serializable {

    private String tel;

    @NotNull(message = "请提交用户名")
    private String username;

    private String nickname;

    @NotNull(message = "请提交密码")
    private String password;

    private List<Long> roleIds; //角色ID
}
